package com.admin.mapper;

import com.admin.domain.DeclareScoreModule;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * Mapper??
 */
public interface DeclareScoreModuleMapper extends BaseMapper<DeclareScoreModule> {

    List<DeclareScoreModule> findDeclareScoreId(Integer declareScoreId);

    /**
     * 如果存在修改，先删除
     * @param declareScoreId
     * @param moduleName
     * @return
     */
    int deleteScoreModule(@Param("declareId") Integer declareScoreId, @Param("moduleName") String moduleName);

}